<template>
    <el-date-picker
        v-model="data.options.defaultValue"
        :type="data.options.dateType"
        :is-range="data.options.isRange"
        :placeholder="data.options.placeholder"
        :start-placeholder="data.options.startPlaceholder"
        :end-placeholder="data.options.endPlaceholder"
        :readonly="data.options.readonly"
        :disabled="data.options.disabled"
        :editable="data.options.editable"
        :clearable="data.options.clearable"
        :style="{width: data.options.width}"
    />
</template>
<script>
export default {
    name: 'BaseDateTime',
    props: {
        data: {
            type: Object
        }
    }
}
</script>
